$OpenBSD: patch-examples_wavefile_cpp,v 1.1 2017/04/19 15:40:25 jca Exp $
--- examples/wavefile.cpp.orig	Wed Apr 19 17:32:47 2017
+++ examples/wavefile.cpp	Wed Apr 19 17:32:48 2017
@@ -9,6 +9,8 @@
 #include "protocol.h"
 #ifdef WIN32
 #include "io.h"
+#else
+#include <unistd.h>
 #endif
 #include <fcntl.h>
 
